<%--@elvariable id="suctionDes" type="com.infitecs.eyas.suction.model.SuctionDes"--%>
<%--
  Created by IntelliJ IDEA.
  User: Demon-pro
  Date: 2015/7/21
  Time: 9:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <%@include file="../includes/head.jsp" %>
    <title>${menu.menuName}</title>
</head>
<body class="page-header-fixed page-quick-sidebar-over-content">
<%@include file="../includes/top.jsp" %>
<div class="page-container">
    <%@include file="../includes/sidebar.jsp" %>
    <div class="page-content-wrapper">
        <div class="page-content">
            <%@include file="../includes/current.jsp" %>
            <div class="row">
                <div class="col-md-12">
                    <div class="portlet box">
                        <div class="portlet-body form">
                            <div class="form-body">
                                <!--锅炉参数-->
                                <div class="col-md-12">

                                    <div class="col-md-12 margin-bottom-10">
                                        <h2>锅炉参数
                                           <span class="help-inline">
                                                  &nbsp; &nbsp; &nbsp; &nbsp;不引用锅炉数据
                                              <input type="checkbox" id="yfjglState" name="yfjglState"
                                              <c:if test="${suctionDes!=null&&operateField.yfjglState=='1'}">
                                                         checked
                                             </c:if>
                                                      >
                                          </span>
                                        </h2>
                                    </div>
                                    <div class="col-md-12">
                                        <div class="col-md-6 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="control-label col-md-4" style="padding-left: 0"
                                                       name="yfjglLabel"        for="E1">锅炉燃煤量</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E1" name="yfjgl"
                                                            value="${suctionDes.e1Show}"
                                                            />
                                                    <span class="help-inline">
                                                        t/h
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="control-label col-md-4" style="padding-left: 0"
                                                       name="yfjglLabel"      for="E4">空气预热器漏风率(保证值)</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E4" name="yfjgl" value="${suctionDes.e4Show}"/>
                                                    <span class="help-inline"  >
                                                       %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="control-label col-md-4" style="padding-left: 0"
                                                       name="yfjglLabel"       for="E2">飞灰份额</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E2" name="yfjgl"  value="${suctionDes.e2Show}"/>
                                                    <span class="help-inline">
                                                        %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="control-label col-md-4" style="padding-left: 0"
                                                       name="yfjglLabel"       for="E5">机械未完全燃烧损失</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E5" name="yfjgl"  value="${suctionDes.e5Show}"/>
                                                    <span class="help-inline">
                                                        %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="control-label col-md-4" style="padding-left: 0"
                                                       name="yfjglLabel"       for="E3">炉膛出口过量空气系数</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E3" name="yfjgl"  value="${suctionDes.e3Show}"/>
                                                    <span class="help-inline">
                                                        /
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!--锅炉参数-->
                                <!--烟气系统-->
                                <div class="col-md-12">
                                    <div class="col-md-12 margin-bottom-10">
                                        <h2>烟气系统
                                            <span class="help-inline">
                                                   &nbsp; &nbsp; &nbsp; &nbsp;不引用燃烧数据
                                               <input type="checkbox" id="yfjrsState" name="yfjrsState"
                                               <c:if test="${suctionDes!=null&&operateField.yfjrsState=='1'}">
                                                          checked
                                              </c:if>
                                                       >
                                           </span>
                                        </h2>
                                    </div>
                                    <div class="col-md-12">
                                        <div class="col-md-6 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="control-label col-md-4" style="padding-left: 0"
                                                       name="yfjrsLabel"   for="E6">引风机前烟道总长度</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E6" name="yfjrs"  value="${suctionDes.e6Show}"/>
                                                    <span class="help-inline">
                                                        m
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="control-label col-md-4" style="padding-left: 0"
                                                       name="yfjrsLabel"    for="E9">风机入口烟气温度</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E9" name="yfjrs"  value="${suctionDes.e9Show}"/>
                                                    <span class="help-inline">
                                                       ℃
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="control-label col-md-4" style="padding-left: 0"
                                                       name="yfjrsLabel"      for="E7">除尘器漏风系数</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E7" name="yfjrs"  value="${suctionDes.e7Show}"/>
                                                    <span class="help-inline">
                                                        %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="control-label col-md-4" style="padding-left: 0"
                                                       name="yfjrsLabel"     for="E10">烟囱自生通风</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E10" name="yfjrs"  value="${suctionDes.e10Show}"/>
                                                    <span class="help-inline">
                                                        %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="control-label col-md-4" style="padding-left: 0"
                                                       name="yfjrsLabel"       for="E8">除尘器效率</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E8" name="yfjrs"  value="${suctionDes.e8Show}"/>
                                                    <span class="help-inline">
                                                        %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!--烟气系统-->
                                <!--风机设计-->
                                <div class="col-md-12">
                                    <div class="col-md-12 margin-bottom-10">
                                        <h2>风机设计</h2>
                                    </div>
                                    <div class="col-md-12">
                                        <div class="col-md-4 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="aTypeStyle control-label col-md-4" style="padding-left: 0"
                                                       for="E16">容器裕度</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E16" value="${suctionDes.e16Show}"/>
                                                    <span class="help-inline">
                                                        %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="aTypeStyle control-label col-md-4" style="padding-left: 0"
                                                       for="E17">压头裕度</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E17"  value="${suctionDes.e17Show}"/>
                                                    <span class="help-inline">
                                                        %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="aTypeStyle control-label col-md-4" style="padding-left: 0"
                                                       for="E18">温度裕度</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E18"  value="${suctionDes.e18Show}"/>
                                                    <span class="help-inline">
                                                        %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="col-md-4 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="aTypeStyle control-label col-md-4" style="padding-left: 0"
                                                       for="E40">并列运行风机台数</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E40"  value="${suctionDes.e40Show}"/>
                                                    <span class="help-inline">
                                                        台
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="aTypeStyle control-label col-md-4" style="padding-left: 0"
                                                       for="E52">计算点风机效率</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E52"  value="${suctionDes.e52Show}"/>
                                                    <span class="help-inline">
                                                        %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4 margin-bottom-10" style="padding-left: 0">
                                            <div class="form-group">
                                                <label class="aTypeStyle control-label col-md-4" style="padding-left: 0"
                                                       for="E66">风机设计点效率</label>

                                                <div class="col-md-8">
                                                    <input type="text" class="form-control input-inline" id="E66"  value="${suctionDes.e66Show}"/>
                                                    <span class="help-inline">
                                                        %
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-body">
                                 <div class="row">
                                     <div class="col-md-5">
                                     </div>
                                     <div class="col-md-7">
                                         <button type="button" class="btn green" id="save"
                                                 onclick="suctionDes.suctionDesSave()">确定
                                         </button>
                                         <button type="button" class="btn green" id="nextPage"
                                                 onclick="suctionDes.suctionDesNext()">下一页
                                         </button>
                                     </div>
                                     <!--/span-->
                                 </div>
                                 <!--/span-->
                             </div>
                        </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<input type="hidden" id="caseId" value="${caseId}" name="caseId">
<input type="hidden" id="addFlag" value="${suctionDes==null?"add":"edit"}" name="addFlag">
<%@include file="../includes/footer.jsp" %>
<%@include file="../includes/bottomscript.jsp" %>
<script src="<c:url value="/js/suction/suctionDes1.js"/> " type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        var caseId = $("#caseId").val();
        var step = '<%=request.getAttribute("step")==null?"":request.getAttribute("step")%>'
        if (caseId == "" || step != "") {
            var obj = getUrlByStep(step)
            toast.error(obj.message);
            setTimeout(function () {
                window.location.href = obj.url;
            }, 1200);
        }

        <%
         String message = (String) request.getAttribute("message");
         if(message!=null&&!"".equals(message)){
         if(message.equals("success")){
         %>
        toast.success("操作成功");
        <%
        }else{
        %>
        toast.error("<%=request.getAttribute("message")%>");
        <%
         }
            }
        %>
        suctionDes.init();
        suctionDes.yfjglStateClick($("#yfjglState"),1)
        suctionDes.yfjrsStateClick($("#yfjrsState"),1)
    })
</script>
</body>
</html>
